package com.qdlc.p2p.biz.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qdlc.p2p.biz.service.OperationLogService;
import com.qdlc.p2p.dal.dao.OperationLogDao;
import com.qdlc.p2p.dal.dto.Borrow;
import com.qdlc.p2p.dal.dto.OperationLog;

@Service("operationLogService")
public class OperationLogServiceImpl implements OperationLogService {

	@Resource
	private OperationLogDao operationLogDao;

	public void save(OperationLog log) {
		operationLogDao.save(log);
	}

    @Override
    public void save(OperationLog log, Borrow borrow) {
        operationLogDao.save(log);
    }
}
